//run bootup processor
import org.softmed.rest.server.core.boot.Startup;

//println "refreshing";

String option = request.getEntity().getText();

println "received persistence refresh option : " + option;

Map<String,Object> options = new HashMap<String,Object>();
Map<String,String> scafoldOptions = new HashMap<String,String>();
options.put("scafold",scafoldOptions);
scafoldOptions .put("persistence",option);

Startup.getBootupProcessor().runBootupScripts(options);

//println "depois do bootup refresh";

